home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Pro
/
CD Pro.iso
/
Lan
/
Intel558
/
NWSERVER
/
OEMSETUP.INF
< prev
Wrap
INI File
|
1997-11-04
|
36KB
|
1,321 lines
; Internal Version 1.06
;***********************************************************************
;
; OEMSETUP.INF
;
; Intel EtherExpress PRO PCI Adapter installation file for the Novell NT Requester
;
;
;***********************************************************************
[Identification]
OptionType = NetAdapter
[PlatformsSupported]
PCI
"Jazz-Internal Bus"
[LanguagesSupported]
ENG
[FileConstants]
UtilityInf = "UTILITY.INF"
ParamInf = "NCPARAM.INF"
subroutineinf = "SUBROUTN.INF"
NwSubsInf = "NWSUBS.INF"
Exit_Code = 0
NetEventDLL = "%SystemRoot%\System32\netevent.dll"
IoLogMsgDLL = "%SystemRoot%\System32\IoLogMsg.dll"
Manufacturer = "Intel"
ClientProvider = "Novell"
ProductMajorVersion = "1"
ProductMinorVersion = "0"
ProductVersion = $(ProductMajorVersion)"."$(ProductMinorVersion)
DriverName = "OdiLoad"
OdiModules = "ODI_Modules"
NE3200_1BYTE = 511034
NetRuleHardwareType = "nwDriver nwAdapter"
NetRuleHardwareBindForm = " yes yes container"
ProductKeyName = $(!NTN_SoftwareBase)"\"$(ClientProvider)"\"$(DriverName)"\CurrentVersion"
;
; ParamKeyname not used - not updated
; ParamKeyName = $(!NTN_ServiceBase)"\"$(ProductHardware$(Option)Name)"\Parameters"
;
[GeneralConstants]
from = ""
to = ""
ExitCodeOk = 0
ExitCodeCancel = 1
ExitCodeFatal = 2
KeyNull = ""
MAXIMUM_ALLOWED = 33554432
RegistryErrorIndex = NO_ERROR
KeyProduct = ""
KeyParameters = ""
TRUE = 1
FALSE = 0
NoTitle = 0
ExitState = "Active"
OldVersionExisted = $(FALSE)
DriverPath = $(!STF_NTPATH)\netware
[ODIParameters]
ODINodeAddress = ""
ODIDriverAdditionalParms = {}
ODICustomList = {}
ODITokenRing = ""
ODITokenRingSnap = ""
;
; File specific Parameters:
; ISA LAN Driver file:
; ODISlotList = {}
; ODIDefaultSlot = ""
; MCA and EISA LAN Driver files:
; ODISlotList = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}
; ODIDefaultSlot = "2"
;
ODISlotList = {}
ODIDefaultSlot = ""
[date]
Now = {} ? $(!LIBHANDLE) GetSystemDate
[Identify]
read-syms Identification
set Status = STATUS_SUCCESSFUL
set Identifier = $(OptionType)
set Media = #("Source Media Descriptions", 1, 1)
Return $(Status) $(Identifier) $(Media)
[ReturnOptions]
read-syms ODIStrings$(!STF_LANGUAGE)
set Status = STATUS_FAILED
set OptionList = {}
set OptionTextList = {}
set LanguageList = ^(LanguagesSupported, 1)
Ifcontains(i) $($0) in $(LanguageList)
ifstr(i) $($1) == ""
goto returnoptions
endif
set PlatformList = ^(PlatformsSupported, 1)
Ifcontains(i) $($1) in $(PlatformList)
goto returnoptions
else
set Status = STATUS_NOTSUPPORTED
goto finish_ReturnOptions
endif
else
set Status = STATUS_NOLANGUAGE
goto finish_ReturnOptions
endif
returnoptions = +
set OptionList = ^(Options, 1)
set OptionTextList = {}
ForListDo $(OptionList)
set OptionTempString = " ODI "#($($),Title,1)$(AdapterForNetWare)
set OptionTextList = >($(OptionTextList), $(OptionTempString) )
EndForListDo
set Status = STATUS_SUCCESSFUL
Debug-Output "OEMNADOD.INF-[finish_ReturnOptions]:"
Debug-Output "OEMNADOD.INF- Status = "$(Status)
Debug-Output "OEMNADOD.INF- OptionList = "$(OptionList)
Debug-Output "OEMNADOD.INF- OptionTextList = "$(OptionTextList)
finish_ReturnOptions = +
Return $(Status) $(OptionList) $(OptionTextList)
[InstallOption]
set Option = $($1)
set SrcDir = $($2)
set AddCopy = $($3)
set DoCopy = $($4)
set DoConfig = $($5)
set LanguageList = ^(LanguagesSupported, 1)
Ifcontains(i) $($0) NOT-IN $(LanguageList)
Return STATUS_NOLANGUAGE
endif
set-subst LF = "\n"
read-syms GeneralConstants
read-syms FileConstants
read-syms ODIParameters
read-syms DialogConstants$(!STF_LANGUAGE)
read-syms ODIStrings$(!STF_LANGUAGE)
ifstr(i) $(!NTN_Origination) == "NCPA"
set Continue = "OK"
endif
read-syms FileConstants$(!STF_LANGUAGE)
detect date
; set-title $(Function$(Option)Title)
set to = Begin
set from = Begin
set CommonStatus = STATUS_SUCCESSFUL
EndWait
Begin = +
set CurrentInstallMode = ""
Ifstr(i) $(!NTN_InstallMode) == deinstall
set StartLabel = removeadapter
goto skipmakingthelists
else-Ifstr(i) $(!NTN_InstallMode) == Update
set StartLabel = UpgradeSoftware
set CurrentInstallMode = configure
set DoCopy = YES
set AddCopy = YES
else-Ifstr(i) $(!NTN_InstallMode) == bind
set StartLabel = bindingadapter
goto skipmakingthelists
else-Ifstr(i) $(!NTN_InstallMode) == configure
set StartLabel = configureadapter
set CurrentInstallMode = configure
else
set DoCopy = YES
set AddCopy = YES
set StartLabel = installadapter
set OEM_ABANDON_OPTIONS = {}
set OEM_ABANDON_SOFTWARE = FALSE
set OEM_ABANDON_ON = TRUE
endif
set ParameterListNames = ^(DefaultParameterLists, 1) ; NWIRQList, NWMEMList1, etc.
set ListNames = ^(ODIListNamesSection, 1) ; List1, list2, ..., list6
set ODIKeywordList = ^(ChoicesNamesList, 1) ; Int, mem, Port, etc.
set ODITitleList = ^(ChoicesNamesList, 2) ; Interrupt Number, Port, etc.
set MSParameterList = ^(ChoicesNamesList, 3) ; InterruptNumber, IOBaseAddress, etc.
set DriverListNames = {}
set ODINumberofDriverLists = 0
ForListDo ^($(Option),0 )
ifcontains(i) $($) IN $(ListNames)
set DriverListNames = >($(DriverListNames), $($))
else-ifstr(i) $($) == "CUSTOM"
set ODICustomList = #($(Option), Custom, 1)
endif
EndForListDo
QueryListSize ODINumberofDriverLists $(DriverListNames)
;
; DriverListNames now contains the List names the selected ODI driver has (i.e. {List1, List2})
; ODINumberofDriverLists now contains the number of lists used
;
Debug-Output "DriverListNames = "$(DriverListNames)
Debug-Output "Size of DriverListNames = "$(ODINumberofDriverLists)
ForListDo $(DriverListNames)
set $($)Keyword = #($(Option), $($), 1)
ifstr $($($)Keyword) != ""
set $($)Default = #($(Option), $($), 3)
ifcontains(i) $($($)Keyword) IN $(ODIKeywordList)
set $($)Title = *($(ODITitleList), ~($(ODIKeywordList), $($($)Keyword)))
set ThisListName = #($(Option), $($), 2)
set MSParameterName$(#) = *($(MSParameterList), ~($(ODIKeywordList), $($($)Keyword)))
set FinalList = {}
ifcontains(i) $(ThisListName) IN $(ParameterListNames)
ifstr(i) #($(Option), $($), 4) == "ALL"
set FinalList = ^($(ThisListName), 1)
else
set CountUpTo = #($(Option), $($), 5)
ifstr(i) $(CountUpTo) == "END"
set CountUpTo = $(MAXIMUM_ALLOWED)
endif
set StartNumber = #($(Option), $($), 4))
ForListDo ^($(ThisListName), 1)
ifint $(#) >= $(StartNumber)
ifint $(#) <= $(CountUpTo)
set FinalList = >($(FinalList), $($))
endif
endif
EndForListDo
endif
else
;
; User passed in the list
;
Debug-Output "User passed in a list"
set $($)Title = #($(Option), $($), 2)
set FinalList = #($(Option), $($), 4)
endif
else
;
; User passed in a new keyword
;
Debug-Output "User passed in a new keyword"
set $($)Title = #($(Option), $($), 2)
set MSParameterName$(#) = ""
set FinalList = #($(Option), $($), 4)
endif
set $($)List = $(FinalList)
endif
Debug-Output "List"$(#)"Title = "$($($)Title)
Debug-Output "List"$(#)"Default = "$($($)Default)
Debug-Output "List"$(#)"Keyword = "$($($)Keyword)
Debug-Output "List"$(#)"List = "$($($)List)
Debug-Output "MSParameterName"$(#)" = "$(MSParameterName$(#))
EndForListDo
skipmakingthelists = +
Debug-Output "Starting skipmakingthelist"
set ODILANDriverTitle = #($(Option), Title, 1)
Split-String #($(Option), DriverName, 2) "." SplitFileNameList
set ODILANDriverName = *($(SplitFileNameList), 1)
set ODIMediaType = #($(Option), MediaType, 1)
set ODICardType = #($(Option), CardType, 1)
set ODICardId = #($(Option), CardId, 1)
ifstr(i) $(ODICardType) == "PCI"
set ODIVendor = #($(Option), Vendor, 1)
end